package org.dromara.pe.domain.bo;

import org.dromara.pe.domain.DataAcquisition;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 数据采集记录业务对象 phy_pe_data_acquisition
 *
 * @author Lion Li
 * @date 2024-09-02
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = DataAcquisition.class, reverseConvertGenerate = false)
public class DataAcquisitionBo extends BaseEntity {

    /**
     * 逻辑主键
     */
    @NotNull(message = "逻辑主键不能为空", groups = { EditGroup.class })
    private Long acquisitionId;


    /**
     * 姓名
     */
//    @NotBlank(message = "姓名不能为空", groups = { AddGroup.class, EditGroup.class })
    private String stuName;

    /**
     * 学号
     */
//    @NotBlank(message = "学号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String stuNum;


    /**
     * 成绩
     */
//    @NotBlank(message = "成绩不能为空", groups = { AddGroup.class, EditGroup.class })
    private String achievement;

    /**
     * 数据来源
     */
//    @NotBlank(message = "数据来源不能为空", groups = { AddGroup.class, EditGroup.class })
    private String sources;

    /**
     * 来源类型 0 xx设备
     */
//    @NotBlank(message = "来源类型 0 xx设备不能为空", groups = { AddGroup.class, EditGroup.class })
    private String sourcesType;

    /**
     * 状态 0 已完成  1未完成
     */
//    @NotBlank(message = "状态 0 已完成  1未完成不能为空", groups = { AddGroup.class, EditGroup.class })
    private String status;



}
